home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Tele / S / SSsitTocpt.cpt / SSsitTOcpt.doc < prev    next >
Text File  |  1990-07-27  |  1KB  |  24 lines

  1. This is a quick and dirty program I cooked up in a few hours on Thursday July 27 1990
  2.  
  3. It should help expedite the changeover from Stuffit Archives to Compactor Archives.
  4.  
  5. This program will do most of the modifications of your File sections for you.
  6.  
  7. What you do is this, use the sit to cpt program in batch mode to convert all your stuffit archives to Compactor archives.  I have been getting a savings of 10 to 30% in size!
  8.  
  9. Then run this program on each of your file sections. It will create a new file section with the same name, but .new attached to the end. This file section will be exactly the same except:
  10.  
  11. It will check to see if the last part of the title is .sit if it is it will change it to .cpt  
  12.  
  13. It will also check to see if the last part of the path is .sit if it is it will change it to .cpt. 
  14.  
  15. Then it will check the file size.  If it is different it will put in the new file size.
  16.  
  17. NOTE the program will Beep when it cannot open the file to check the description.
  18.  
  19.  
  20. Next it will scan the description of the file for the word STUFFIT.  (case does not matter) If it finds it it will attempt to replace STUFFIT with the word Compactor.  If this will not fit it will replace it with the word Compctr (same length as Stuffit.
  21.  
  22. Thats all!  I would suggest checking your file sections afterword with tide, but all you have to do is select each file and then click the check disk info button.
  23.  
  24.